package com.zb.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author WEN
 * @Date 2024/2/22 0022
 **/
@Data
@ApiModel("菜单权限对象")
public class AuthorVo {
    @ApiModelProperty(value = "菜单权限ID")
    private Long authorId;

    @ApiModelProperty(value = "父级权限ID")
    private Long parentId;

    @ApiModelProperty(value = "类型：1-导航菜单，2-页面，3-按钮")
    private Integer type;

    @ApiModelProperty(value = "菜单权限名称")
    private String name;

    @ApiModelProperty(value = "是否按钮：false-否，true-是")
    private Boolean button;

    @ApiModelProperty(value = "导航路径 ")
    private String path;

    @ApiModelProperty(value = "页面组件")
    private String component;

    @ApiModelProperty(value = "是否隐藏：false-否，true-是")
    private Boolean hidden;

    @ApiModelProperty(value = "标题名称")
    private String title;

    @ApiModelProperty(value = "菜单图标")
    private String icon;

    @ApiModelProperty(value = "是否保持活动：0-否，1-是")
    private Boolean keepAlive;
}
